package Comunication;

public class OperationManager {
	public OperationManager(Use u, int nProcessors) {
		/*Message m = new Message("SRC", "ThreadP1", "Wr","120",nProcessors);
		for (int i = 0; i<nProcessors; i++){
			m.flags[i] = false;
		}
		try {
			Thread.sleep(5000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		u.insert(m);
		try {
			Thread.sleep(5000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		m = new Message("SRC", "ThreadP2", "Wr","120",nProcessors);
		for (int i = 0; i<nProcessors; i++){
			m.flags[i] = false;
		}
		u.insert(m);*/
	}
}
